<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
	function fuzzyQuery() {
		var asset_no = document.getElementById("asset.asset_no").value;
		var responsible_by = document.getElementById("asset.responsible_by").value;
		var placed = document.getElementById("asset.placed_at").value;
		var url = "asset!fuzzyQuery?asset.asset_no=" + asset_no
				+ "&asset.placed_at=" + placed + "&asset.responsible_by="
				+ responsible_by;
		var url1 = encodeURI(url);
		location.href = url1;
	}
</script>
<s:head />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎登陆</title>
<style type="text/css">
.center {
	text-align: center;
}
</style>
</head>
<body>
<s:form action="asset!execute" name="f">
	<table border="1" cellspacing="0">
		<tr>
			<td class="center">序号</td>
			<td class="center">编号</td>
			<td class="center">类型</td>
			<td class="center">责任人</td>
			<td class="center">地点</td>
			<td class="center">状态</td>
			<td class="center">故障</td>
			<td class="center">核查时间</td>
			<td class="center">备注</td>
			<td class="center">操作</td>
		</tr>
		<s:iterator value="assets">
			<tr>
				<td class="center"><s:property value="id" /></td>
				<td class="center"><s:property value="asset_no" /></td>
				<td class="center"><s:property value="asset_type" /></td>
				<td class="center"><s:property value="responsible_by" /></td>
				<td class="center"><s:property value="placed_at" /></td>
				<td class="center"><s:property value="status" /></td>
				<td class="center"><s:property value="problem_desc" /> &nbsp;</td>
				<td class="center"><s:property value="checked_on" /></td>
				<td class="center"><s:property value="memo" /></td>
				<td class="center"><a
					href='asset!input?asset.id=<s:property  value="id"/>'>修改 </a></td>
			</tr>
		</s:iterator>
	</table>
</s:form>
</body>
</html>